package com.medical.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class MedicalRecordsVO {
    private Integer id;
    private Integer userId;
    private Integer doctorId;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate recordDate;

    private Integer diagnosis;
    private String treatment;
    private Integer department;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createdDate;

    private String userName;
    private String doctorName;
    private int age;
    private int status;
}
